<script setup lang="ts">
  import { useStore } from '@/store/use'
  import HelloWorld from '@/components/demo/HelloWorld.vue'
  import Active from '@/components/demo/active.vue'
  import Mouse from '@/components/demo/mouse.vue'

  const store = useStore()
</script>

<template>
  <router-link to="/">
    <!-- <div @click="$router.back()">返回</div> -->
    <div>返回</div>
  </router-link>

  <div class="flex">
    <img alt="Vue logo" src="@/assets/logo.png" />
    <!-- <HelloWorld :msg="store.msg" /> -->
    <Active />
    <Mouse />
  </div>
</template>

<style lang="scss" scoped>
.flex {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
</style>